<?php
// Module Definition
$module['name'] = 'Example';
$module['description'] = 'Example module';

switch($action) {
	case 'register':
		break;
	case 'unregister':
		break;
	case 'hook':
		// add example settings function to the web:personal:userset:table hook
		// this means that the example settins will get added to the usersettings table
		// as can be seen above the example settings adds a box to the user settings form
		// so the web:personal:userset:table hook is called when a user goes on the user settings
		// page and the below line adds the example settings function to that hook so it will 
		// be included, see hooks.inc.phps in the web dir for more info.
		register_hook('web:personal:userset:table', 'example_settings');
		register_hook('web:cfg:default', 'example_ss');
		register_hook('server:domain:sendmail', 'example_sendmail');
		break;
}
?>